package com.video.video.service;

import com.video.video.domain.dto.DWthdrawalRecordDto;
import com.video.video.domain.vo.DWthdrawalRecordQuery;
import java.util.List;
import com.video.video.domain.DWthdrawalRecord;

/**
 * 提现记录Service接口
 *
 * @author ruoyi
 * @date 2022-09-27
 */
public interface IDWthdrawalRecordService
{
    /**
     * 查询提现记录
     *
     * @param id 提现记录主键
     * @return 提现记录
     */
    public DWthdrawalRecord selectDWthdrawalRecordById(String id);

    /**
     * 查询提现记录列表
     *
     * @param query 提现记录
     * @return 提现记录集合
     */
    public List<DWthdrawalRecordDto> selectDWthdrawalRecordList(DWthdrawalRecordQuery query);

    /**
     * 新增提现记录
     *
     * @param dWthdrawalRecord 提现记录
     * @return 结果
     */
    public int insertDWthdrawalRecord(DWthdrawalRecord dWthdrawalRecord);

    /**
     * 修改提现记录
     *
     * @param dWthdrawalRecord 提现记录
     * @return 结果
     */
    public int updateDWthdrawalRecord(DWthdrawalRecord dWthdrawalRecord);

    /**
     * 批量删除提现记录
     *
     * @param ids 需要删除的提现记录主键集合
     * @return 结果
     */
    public int deleteDWthdrawalRecordByIds(String[] ids);

    /**
     * 删除提现记录信息
     *
     * @param id 提现记录主键
     * @return 结果
     */
    public int deleteDWthdrawalRecordById(String id);
}
